package com.quwan.security.auth.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author quan
 * @date 2021-12-09 0:17
 */

@Data
@Accessors(chain = true)
public class LoginResult implements Serializable {
    private static final long serialVersionUID = 1170395652271447595L;
    @ApiModelProperty("1成功 0失败 ios wx 调用手机登录")
    private String code;
    @ApiModelProperty("code=0 ios wx 返回openid 进行手机认证绑定")
    private String openId;
    @ApiModelProperty("code =1 返回token")
    private String token;
    @ApiModelProperty("游客登录模式才会返回 游客id 用户后续用户登录转化一些信息")
    private String guestId;
}
